﻿import QtQuick 2.0
import "../components"
import QtCharts 2.3
import QtQuick.Layouts 1.1
import QtQuick.Controls.Styles 1.2
import QtQuick.Controls 2.12
import QtMultimedia 5.14
Rectangle {
    width: parent.width
    height: parent.height
    property int type: 0
    property string xh:""
    property string bh:""
    property string infov: ""
    property string statev: ""

    onVisibleChanged: {

    }

    Row{
        anchors.fill: parent

        // 序号
        Text{
            id: num
            height: 30*dp;
            width: parent.width*0.15
            font.pixelSize: config.fontsize
            horizontalAlignment: Text.AlignHCenter
            verticalAlignment: Text.AlignVCenter
            anchors.verticalCenter: parent.verticalCenter
            text: xh
        }

        // 编号
        Text{
            id: code
            height: 30*dp;
            width: parent.width*0.15
            font.pixelSize: config.fontsize
            horizontalAlignment: Text.AlignHCenter
            verticalAlignment: Text.AlignVCenter
            anchors.verticalCenter: parent.verticalCenter
            text: bh
        }

        // 信息
        Text{
            id: infot
            height: 30*dp;
            width: parent.width*0.55
            font.pixelSize: config.fontsize
            horizontalAlignment: Text.AlignHCenter
            verticalAlignment: Text.AlignVCenter
            anchors.verticalCenter: parent.verticalCenter
            text: infov
        }

        // 状态
        Text{
            id: statet
            height: 30*dp;
            width: parent.width*0.15
            font.pixelSize: config.fontsize
            horizontalAlignment: Text.AlignHCenter
            verticalAlignment: Text.AlignVCenter
            anchors.verticalCenter: parent.verticalCenter
            text: statev
        }


    }
    Rectangle{
        x:0*dp
        y:parent.height-2*dp
        height: 1.2*dp
        width: parent.width
        color: "#DEDEDE"
    }



}
